using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for InfoBus
/// </summary>
public class InfoBus
{
	public InfoBus()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public Info GetInfo(string xmlPath)
    {
        Info dto = new InfoDao().GetInfo(xmlPath);
        dto.About.Replace("&lt;", "<");
        dto.About.Replace("&gt;", ">");
        return dto;
    }

    public void SaveXml(Info dto, string xmlPath)
    {
        new InfoDao().SaveXml(dto, xmlPath);
    }
}
